<?php // $this->beginWidget('system.web.widgets.CClipWidget', array('id'=>'sidebar')); ?>

<?php // $this->endWidget();?>

    Suche nach: "<?php echo CHtml::encode($term)?>"

    <?php if (!empty($results)): ?>
    <div id='results'>
        <?php foreach($results as $result): 
    ?>   
            <div class="mydiv">
                <p><?php echo CHtml::link($query->highlightMatches(CHtml::encode($result->course_nr)), $this->createUrl('course/update', array('id'=>$result->course_id))); ?>
                    <br>
                <?php echo ($query->highlightMatches(CHtml::encode($result->title))) ?></p>
                <hr/>
            </div>
        <?php endforeach; ?>
        
    </div>
    <?php else: ?>
        <p class="error">Keine Einträge gefunden</p>
    <?php endif; ?>
